<?php /* Smarty version Smarty-3.1.8, created on 2012-11-05 14:54:57
         compiled from "E:\www\teraco\templates\admin\news_all\menu.temp.html" */ ?>
<?php /*%%SmartyHeaderCode:243505097d34173ad97-18268360%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'eb38174c41b34ae606fccc619ff848d5bf759f76' => 
    array (
      0 => 'E:\\www\\teraco\\templates\\admin\\news_all\\menu.temp.html',
      1 => 1351335083,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '243505097d34173ad97-18268360',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'objectMenuPostsNews' => 0,
    'pid' => 0,
    'object' => 0,
    'objParentMenu' => 0,
    'base_url' => 0,
    'op' => 0,
    'lang' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5097d341ae5736_71652993',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5097d341ae5736_71652993')) {function content_5097d341ae5736_71652993($_smarty_tpl) {?><?php if ($_smarty_tpl->tpl_vars['objectMenuPostsNews']->value){?>
<ul id="tablist">
	<?php  $_smarty_tpl->tpl_vars['object'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['object']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['objectMenuPostsNews']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['object']->index=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['object']->key => $_smarty_tpl->tpl_vars['object']->value){
$_smarty_tpl->tpl_vars['object']->_loop = true;
 $_smarty_tpl->tpl_vars['object']->index++;
 $_smarty_tpl->tpl_vars['object']->first = $_smarty_tpl->tpl_vars['object']->index === 0;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['menu']['first'] = $_smarty_tpl->tpl_vars['object']->first;
?>
    	<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['menu']['first']){?>
    	<li <?php if (!$_smarty_tpl->tpl_vars['pid']->value||($_smarty_tpl->tpl_vars['object']->value->getField('id')==$_smarty_tpl->tpl_vars['objParentMenu']->value->getField('id'))){?>class="current"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['op']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['object']->value->getField('slug');?>
/act/list/pid/<?php echo $_smarty_tpl->tpl_vars['object']->value->getField('id');?>
" title="<?php echo $_smarty_tpl->tpl_vars['object']->value->getFieldLangAdmin($_smarty_tpl->tpl_vars['lang']->value,'name');?>
"><?php echo $_smarty_tpl->tpl_vars['object']->value->getFieldLangAdmin($_smarty_tpl->tpl_vars['lang']->value,'name');?>
</a> </li>
        <?php }else{ ?>
        <li <?php if ($_smarty_tpl->tpl_vars['object']->value->getField('id')==$_smarty_tpl->tpl_vars['objParentMenu']->value->getField('id')){?>class="current"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['op']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['object']->value->getField('slug');?>
/act/list/pid/<?php echo $_smarty_tpl->tpl_vars['object']->value->getField('id');?>
" title="<?php echo $_smarty_tpl->tpl_vars['object']->value->getFieldLangAdmin($_smarty_tpl->tpl_vars['lang']->value,'name');?>
"><?php echo $_smarty_tpl->tpl_vars['object']->value->getFieldLangAdmin($_smarty_tpl->tpl_vars['lang']->value,'name');?>
</a> </li>
        <?php }?>
	<?php } ?>
</ul>
<?php }?><?php }} ?>